class UserContext   
  @user = nil
  @merchant = nil
  @order = nil
  @city = nil 
  @store = nil
  
  def initialize
    @store = Hash.new
  end
  
  def user
    @user
  end

  def user=(newUser)
    @user = newUser
  end

  def merchant
    @merchant
  end

  def merchant=(newMerchant)
    @merchant = newMerchant
  end

  def order
    @order
  end

  def order=(newOrder)
    @order = newOrder
  end
  
  def add(key, value)
    @store[key] = value
  end
  
  def get(key)
    @store[key]
  end
  
  def city
    @city
  end  
  
  def city(city)
    @city = city
  end
  
end